package com.hqj.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/eureka/client/tc")
public class TestController {

    @RequestMapping("/getOne")
    public Map<String,Object> getOne(){
        Map<String,Object> map = new HashMap<>();
        map.put("name","hqjtest");
        map.put("age",18);

        return map;
    }

}
